package com.dy.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dy.common.annotation.Excel;
import com.dy.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 medical_machine
 *
 * @author anps
 * @date 2022-07-30
 */
public class MedicalMachine extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 设备唯一键 */
    private Long id;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String machineCode;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String machineType;

    /** 设备网络状态 */
    @Excel(name = "设备网络状态")
    private String networkStatus;

    /** 设备运行状态 */
    @Excel(name = "设备运行状态")
    private String runningStatus;

    /** 设备运行开始事件 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设备运行开始事件", width = 30, dateFormat = "yyyy-MM-dd")
    private Date runningStartDate;

    /** 设备运行结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设备运行结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date runningEndDate;

    /** 设备PH值 */
    @Excel(name = "设备PH值")
    private Long machinePh;

    /** 设备COD值 */
    @Excel(name = "设备COD值")
    private Long machineCod;

    /** 设备氨氮值 */
    @Excel(name = "设备氨氮值")
    private Long machineAy;

    /** 所属机构唯一id */
    @Excel(name = "所属机构唯一id")
    private Long institutionId;

    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setMachineCode(String machineCode){
        this.machineCode = machineCode;
    }

    public String getMachineCode(){
        return machineCode;
    }

    public String getMachineType() {
        return machineType;
    }

    public void setMachineType(String machineType) {
        this.machineType = machineType;
    }

    public String getNetworkStatus() {
        return networkStatus;
    }

    public void setNetworkStatus(String networkStatus) {
        this.networkStatus = networkStatus;
    }

    public String getRunningStatus() {
        return runningStatus;
    }

    public void setRunningStatus(String runningStatus) {
        this.runningStatus = runningStatus;
    }

    public void setRunningStartDate(Date runningStartDate){
        this.runningStartDate = runningStartDate;
    }

    public Date getRunningStartDate(){
        return runningStartDate;
    }
    public void setRunningEndDate(Date runningEndDate){
        this.runningEndDate = runningEndDate;
    }

    public Date getRunningEndDate(){
        return runningEndDate;
    }
    public void setMachinePh(Long machinePh){
        this.machinePh = machinePh;
    }

    public Long getMachinePh(){
        return machinePh;
    }
    public void setMachineCod(Long machineCod){
        this.machineCod = machineCod;
    }

    public Long getMachineCod(){
        return machineCod;
    }
    public void setMachineAy(Long machineAy){
        this.machineAy = machineAy;
    }

    public Long getMachineAy(){
        return machineAy;
    }
    public void setInstitutionId(Long institutionId){
        this.institutionId = institutionId;
    }

    public Long getInstitutionId(){
        return institutionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("machineCode", getMachineCode())
            .append("machineType", getMachineType())
            .append("networkStatus", getNetworkStatus())
            .append("runningStatus", getRunningStatus())
            .append("runningStartDate", getRunningStartDate())
            .append("runningEndDate", getRunningEndDate())
            .append("machinePh", getMachinePh())
            .append("machineCod", getMachineCod())
            .append("machineAy", getMachineAy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("institutionId", getInstitutionId())
            .toString();
    }
}
